home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AGA Toolkit '97
/
The AGA Toolkit '97.iso
/
c
/
dt.doc
< prev
next >
Wrap
Text File
|
1996-09-07
|
2KB
|
42 lines
This is a program that I have found useful in several occasions: when you
have to transport files on floppy discs (e.g. from Stanford to Europe) it
is better to be sure that all what you have copied is readable before to
slip 7,000 miles away from the original material. This program, named DT
for Disk Test, tests the whole disc: at first reading all cylinders one
by one, to be sure that the disc itself is reliable; then reads, record
by record, all files on the disc. This last step can be take long time if
you have several files; but it is, as I think, the most important to check
the data reliability.
DT has been written specifically for floppies: to check hard disk cylinders
there are diagnostic programs that usually come with them; and to check the
readability of a subset of the files you have somewhere, you should try the
program VERIFY that you will find in the DevWare collection. I decided
to mimic the aesthetic of the DT program from Peter Norton (in the IBM-PC
Norton Utilities); but I avoided the Peter Norton's option of a switch in
the command line to skip the cylinder test or the file test: in my opinion
both phases are essential and not too much time consuming, so the user
should perform both.
To run this program from the CLI, enter DT DFx:, where "x" is the floppy
unit number (the colon can be omitted); clicking on the DT icon from the
Workbench will open a window on which you will be prompted for the unit
to test. The output is self-explaining.
A thank to:
- Commodore: for the Amiga;
- Lattice, Inc.: for Lattice-C v5.04;
- ASDG, Inc.: for CygnusEd Professional;
- Joel Swank: for VERIFY (but I did not borrow almost
anything from him);
- Peter Norton: for the original DT.
You are free to use, modify and freely distribute this program; but you
must not charge money for it, and leave my name and my notes as they are
(yes, I mean in the same bad english you laughed at). If you will modify
DT and will take care to send me the changed program, you will make me
happy. My address can be found in the source header.
Have fun !
Maurizio